home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000351_news@newsmaster….columbia.edu _Fri Mar 27 14:09:05 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA25036
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 27 Mar 1998 14:09:04 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA18639
  7.     for kermit.misc@watsun; Fri, 27 Mar 1998 14:09:04 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Do math in Kermit on Linux ?
  12. Date: 27 Mar 1998 19:09:03 GMT
  13. Organization: Columbia University
  14. Lines: 13
  15. Message-ID: <6fgtgf$shm$1@apakabar.cc.columbia.edu>
  16. References: <6fgr68$ref$1@eskinews.eskimo.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8549
  19.  
  20. In article <6fgr68$ref$1@eskinews.eskimo.com>, E <my@email.addr> wrote:
  21. : I ran kermit 6 for the first time yesterday.  I need to find out if kermit 6
  22. : supports mathematical computation.
  23. Yes it does (integer only).  As noted on page 35 of "Using C-Kermit", you
  24. can put an arithmetic expression (possibly containing variables) in most
  25. places where you could put a number.  Arithmetic expressions support regular
  26. mathematical notation -- parentheses for grouping, fourteen different
  27. arithmetic and logical operators with well-defined precedence, etc.
  28. And as noted on page 394, there is also a selection of arithmetic functions.
  29. Plus you can define your own functions, even recursive ones.
  30.  
  31. - Frank